export interface Config {
  BASENAME?: string;
  SUCCESS_CODE: number;
  API_URL: string;
  TOKEN_KEY: string;
}

const AdminConfig: Config = {
  // react-route basename
  BASENAME: '/admin',

  // 请求成功状态码
  SUCCESS_CODE: 200,

  // 统一请求地址
  API_URL: 'localhost',

  // 本地存储token 的key
  TOKEN_KEY: 'token',
};

export default AdminConfig;
